package com.xx.pmis.model;

import java.util.HashSet;
import java.util.Set;

/**
 * @class 财务管理，科目实体类 <br>
 * 
 * @editor 石星星 @Date 2011-9-22 下午02:32:26 <br>
 * @version jdk_1.5.0
 */
public class Subject extends AbstractEntity implements Comparable<Entity> {
	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1L;

	private String subID; // 科目ID
	private String subParentID; // 科目ID
	private String subName; // 科目名称
	private String subCode; // 科目代码
	private String subState; // 状态
	private String subDesc; // 描述
	private Set<SubjectSon> subjectSon = new HashSet<SubjectSon>(0);

	public Subject() {
		super();
	}

	public String getSubID() {
		return subID;
	}

	public void setSubID(String subID) {
		this.subID = subID;
	}
	
	public String getSubParentID() {
		return subParentID;
	}

	public void setSubParentID(String subParentID) {
		this.subParentID = subParentID;
	}

	public String getSubName() {
		return subName;
	}

	public void setSubName(String subName) {
		this.subName = subName;
	}

	public String getSubCode() {
		return subCode;
	}

	public void setSubCode(String subCode) {
		this.subCode = subCode;
	}

	public String getSubState() {
		return subState;
	}

	public void setSubState(String subState) {
		this.subState = subState;
	}

	public String getSubDesc() {
		return subDesc;
	}

	public void setSubDesc(String subDesc) {
		this.subDesc = subDesc;
	}

	public Set<SubjectSon> getSubjectSon() {
		return subjectSon;
	}

	public void setSubjectSon(Set<SubjectSon> subjectSon) {
		this.subjectSon = subjectSon;
	}

}
